package com.guohe3.just.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 浦希成
 * @since 2018-12-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @JsonIgnore
    private Integer id;

    @ApiModelProperty(value = "反馈者姓名", example = "浦希成")
    private String name;

    @JsonIgnore
    private Date time;

    @ApiModelProperty(value = "反馈内容", example = "测试")
    private String content;
    /**
     * 反馈来源
     * 1.小程序
     * 2.安卓
     * 3.网页
     */
    @ApiModelProperty(value = "反馈来源 1。小程序 2.安卓 3.网页", example = "1")
    private String origin;

    @ApiModelProperty(value = "联系方式", example = "18852897377")
    private String contact;


}
